package com.yhq.oj.model.dto.question;

import com.yhq.oj.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * 查询请求
 *
 * @author yhq
 * 
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class QuestionQueryRequest extends PageRequest implements Serializable {

    /**
     * id
     */
    private Long id;

    /**
     * 标题
     */
//    //@TableField(value = "title")
    private String title;

    /**
     * 标签列表(json数组)
     */
//    //@TableField(value = "tags")
    private List<String> tags;
    /**
     * 查询字符串
     */
    private String searchText;
    private static final long serialVersionUID = 1L;
}